package org.infodavid.common.impl.services;

import java.io.Serializable;
import java.util.Map;

import javax.persistence.PersistenceException;


import org.infodavid.common.annotations.AImplementation;
import org.infodavid.common.annotations.AImplementation.ERuntime;
import org.infodavid.common.persistence.PersistenceSession;
import org.infodavid.common.services.UserService;
import org.infodavid.common.services.exceptions.ServiceException;

/**
 * The Class AbstractUserService.
 */
@AImplementation(runtime = ERuntime.DEFAULT, value = UserService.class)
public class UserServiceImpl extends org.infodavid.common.impl.services.AbstractUserService {
	public static PersistenceSession session = null;

	/*
	 * (non-Javadoc)
	 * @see org.infodavid.common.impl.services.AbstractUserService#getPersistenceSession(java.util.Map)
	 */
	@Override
	protected PersistenceSession getPersistenceSession(
	    final Map<String,? extends Serializable> properties) throws PersistenceException,
	    ServiceException {
		return session;
	}
}
